package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yfp.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description: 用户账户
 *
 * @CreateDate: 2024/5/28 12:09
 * @UpdateUser: 
 * @UpdateDate: 2024/5/28 12:09
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Data
@TableName(value = "user_account")
@Tag(name = "用户账户")
public class UserAccount extends BaseEntity {
    @Schema(description = "主键")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "可提现余额")
    private BigDecimal balance;
    @Schema(description = "冻结金额")
    private BigDecimal frozenMoney;
    @Schema(description = "已提现金额")
    private BigDecimal withdrawnMoney;
    @Schema(description = "审核提现金额")
    private BigDecimal auditWithdrawnMoney;
    @Schema(description = "投资人结算周期（天）")
    private Integer settlementInterval;
}
